﻿using System; 
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lession1
{
    class Program
    {
        // 1、编写程序，定义一个枚举类型，表示订单的状态值：新订单、已发货、已签收、已评价
        //          ；声明一个枚举类型表示某个订单的状态并将其值输出。

        enum TEST {
            新订单=1,
            已发货,
            已签收,
            已评价,

        }
        static void Main(string[] args)
        {
            TEST    New = TEST.新订单;
            int N = (int)New;
            Console.WriteLine(New);
            Console.WriteLine(N);
            TEST Shipped = TEST.已发货;
            int S = (int)Shipped;
            Console.WriteLine(Shipped);
            Console.WriteLine(S);
            TEST Sign = TEST.已签收;
            int I = (int)Sign;
            Console.WriteLine(Sign);
            Console.WriteLine(I);
            TEST Evaluate = TEST.已评价;
            int E = (int)Evaluate;
            Console.WriteLine(Evaluate);
            Console.WriteLine(E);
            Demo02.Test();
        }
    }
}
